func text/template/parse.hasRightTrimMarker
4 uses
text/template/parse (current package)
lex.go#L286: if hasRightTrimMarker(l.input[l.pos:]) && strings.HasPrefix(l.input[l.pos+trimMarkerLen:], l.rightDelim) { // With trim marker.
lex.go#L348: trimSpace := hasRightTrimMarker(l.input[l.pos:])
lex.go#L445: if hasRightTrimMarker(l.input[l.pos-1:]) && strings.HasPrefix(l.input[l.pos-1+trimMarkerLen:], l.rightDelim) {
lex.go#L680: func hasRightTrimMarker(s string) bool {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)